CVE-2023-53308
net: fec: Better handle pm_runtime_get() failing in .remove()
Description
In the Linux kernel, the following vulnerability has been resolved: net: fec: Better handle pm_runtime_get() failing in .remove() In the (unlikely) event that pm_runtime_get() (disguised as pm_runtime_resume_and_get()) fails, the remove callback returned an error early. The problem with this is that the driver core ignores the error value and continues removing the device. This results in a resource leak. Worse the devm allocated resources are freed and so if a callback of the driver is called later the register mapping is already gone which probably results in a crash.
INFO
Published Date :
Sept. 16, 2025, 5:15 p.m.
Last Modified :
Sept. 16, 2025, 5:15 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply the Linux kernel patch for the fec driver.
- Ensure pm_runtime_get() failure is handled correctly.
- Prevent early return from remove callback on error.
- Fix device removal logic to avoid crashes.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-53308
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-53308
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-53308
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-53308
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-53308
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Sep. 16, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: net: fec: Better handle pm_runtime_get() failing in .remove() In the (unlikely) event that pm_runtime_get() (disguised as pm_runtime_resume_and_get()) fails, the remove callback returned an error early. The problem with this is that the driver core ignores the error value and continues removing the device. This results in a resource leak. Worse the devm allocated resources are freed and so if a callback of the driver is called later the register mapping is already gone which probably results in a crash. Added Reference https://git.kernel.org/stable/c/83996d317b1deddc85006376082e8886f55aa709 Added Reference https://git.kernel.org/stable/c/9407454a9b18bbeff216e8ecde87ffb2171e9ccf Added Reference https://git.kernel.org/stable/c/b22b514209ff8c4287abb853399890ab97e1b5ca Added Reference https://git.kernel.org/stable/c/be85912c36ddca3e8b2eef1b5392cd8db6bdb730 Added Reference https://git.kernel.org/stable/c/c1bc2870f14e526a01897e14c747a0a0ca125231 Added Reference https://git.kernel.org/stable/c/d52a0cca591e899d4e5c8ab19e067b4c6b7d104f Added Reference https://git.kernel.org/stable/c/e02d8d5b1602689b98d9b91550a11b9b57baedbe Added Reference https://git.kernel.org/stable/c/f816b9829b19394d318e01953aa3b2721bca040d